﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Prism.Commands;

namespace BBInterfaceNET.ProjectExplorer.Commands
{
    /// <summary>
    /// commands used by the explorer internally. these will be triggered by
    /// the context menus.
    /// </summary>
    internal static class ExplorerCommands
    {
        private static CompositeCommand newFileCmd = new CompositeCommand();
        private static CompositeCommand existingFileCmd = new CompositeCommand();
        private static CompositeCommand openFileCmd = new CompositeCommand();
        private static CompositeCommand newDirCmd = new CompositeCommand();
        private static CompositeCommand deleteCmd = new CompositeCommand();
        private static CompositeCommand renameCmd = new CompositeCommand();

        public static CompositeCommand NewFileCommand
        {
            get { return newFileCmd; }
        }
        public static CompositeCommand ExistingFileCommand
        {
            get { return existingFileCmd; }
        }
        public static CompositeCommand OpenFileCommand
        {
            get { return openFileCmd; }
        }
        public static CompositeCommand NewDirectoryCommand
        {
            get { return newDirCmd; }
        }
        public static CompositeCommand DeleteCommand
        {
            get { return deleteCmd; }
        }
        public static CompositeCommand RenameCommand
        {
            get { return renameCmd; }
        }
    }
}
